package com.ruoyi.kaoyan.domain;

import java.util.Date;
import java.util.List;

import com.baomidou.mybatisplus.annotation.TableField;
import com.ruoyi.common.core.domain.model.BaseEntityPlus;
import com.ruoyi.common.annotation.Excel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;

/**
 * 帖子评论表(EducationForumComment)表实体类
 *
 * @author jiuling
 * @since 2023-04-28 16:20:32
 */
@EqualsAndHashCode(callSuper = true)
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class EducationForumComment extends BaseEntityPlus {
    /**
     *  
     */     
    @Excel(name = "id")
    @ApiModelProperty(value = "id")
    private Long id;
    /**
     * 用户ID
     */     
    @Excel(name = "用户ID")
    @ApiModelProperty(value = "用户ID")
    private Long userId;
    /**
     * 帖子ID
     */     
    @Excel(name = "帖子ID")
    @ApiModelProperty(value = "帖子ID")
    private Long postId;
    /**
     * 帖子所属分类id
     */     
    @Excel(name = "帖子所属分类id")
    @ApiModelProperty(value = "帖子所属分类id")
    private Long categoryId;
    /**
     * 被评论目标ID
     */     
    @Excel(name = "父ID(被回复的评论id)")
    @ApiModelProperty(value = "父ID(被回复的评论id)")
    private Long parentId;
    /**
     * 内容
     */     
    @Excel(name = "内容")
    @ApiModelProperty(value = "内容")
    private String content;
    /**
     * 评论图片
     */     
    @Excel(name = "评论图片")
    @ApiModelProperty(value = "评论图片")
    private String commentGroupId;
    /**
     * 点赞数
     */     
    @Excel(name = "点赞数")
    @ApiModelProperty(value = "点赞数")
    private Long likeSum;

    /**
     * 审核标记
     */
    @ApiModelProperty(value = "审核标记（null：待审核 1：审核通过 0：审核不通过）")
    private Integer verFlag;

    @TableField(exist = false)
    private String userName;

    @TableField(exist = false)
    private List<EducationForumComment> sonCommentList;
}
